package com.cly.api.clients;

import com.cly.common.entity.pay.po.PayOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("pay-service")
public interface PayClient {

    @GetMapping("/pay/private/{orderId}")
    PayOrder getPayOrderByOrderIdToOrder(@PathVariable Long orderId);
}
